package peer.servertcp;

import peer.tools.ByteShortSwitch;

class   MessageTCP {
	static short type_DataMessage=44;
	static short type_AckMessage=45;
	static short type_CloseMessage=46;
	static short type_ReceiveBuffredMessage=47;
	
	
	static short checkMessageType(byte[] data){
		return ByteShortSwitch.toShort(data, 0);
	}
	
}
